home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Caml Light 0.61 / Source / src / lib / fchar.mli < prev    next >
Encoding:
Text File  |  1993-09-24  |  686 b   |  18 lines  |  [TEXT/MPS ]

  1. (* Character operations, without sanity checks *)
  2.  
  3. (* This module implements the same functions as the [char] module,
  4.    but does not perform bound checks on the arguments of the functions.
  5.    The functions are therefore faster than those in the [char] module,
  6.    but calling these functions with incorrect parameters (that is,
  7.    parameters that would cause the [Invalid_argument] exception to be raised
  8.    by the corresponding functions in the [char] module) can crash the
  9.    program. *)
  10.  
  11. (*--*)
  12.  
  13. value int_of_char : char -> int = 1 "identity"
  14.   and char_of_int : int -> char = 1 "identity"
  15.   and char_for_read : char -> string
  16.   and is_printable : char -> bool = 1 "is_printable"
  17. ;;
  18.